package com.shanzmoo.db.module.member.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 会员活动
 * </p>
 *
 * @author wangyudi
 * @since 2021-03-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("member_activity_config")
public class MemberActivityConfigEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商户编号
     */
    private String merchantCode;

    /**
     * 活动对象 1-新会员 2-老会员
     */
    private Integer activityObj;

    /**
     * 活动类型 1-会员卡消费折扣 2-会员卡充值满赠 3-会员卡消费满赠
     */
    private Integer activityType;

    /**
     * 活动名称
     */
    private String name;

    /**
     * 活动状态 0-未启动 1-进行中
     */
    private Integer status;

    /**
     * 是否参加满百赠送 0-否 1-是
     */
    private Integer fullHundredGive;

    /**
     * 生效时间
     */
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    private Integer createUser;

    private Integer updateUser;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private Boolean deleted;


}
